﻿@using mscook.mvc;
@{
    ViewBag.Title = "览月齐鲁";
    Layout = "~/Views/Shared/_CenterLayout.cshtml";
}

@model mscook.mvc.Models.CenterInfoModel
@section JavaScript
{
    <script type="text/javascript" src="@Url.Content("~/scripts/jquery.validate.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/scripts/jquery.validate.unobtrusive.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/scripts/jquery.unobtrusive-ajax.js")"></script>
}
<div class="span9 main">
    <div class="row">

        <div class="span8 business_card highlight">
            <div class="card_header">
                <span class="card_title">
                    <i class=" icon-barcode"></i>
                    <a target="_blank" href="#">修改资料 <i class="chevron-right">›</i></a>
                </span>
            </div>
            <div class="card_info">
                <form class="form-horizontal" method="post" action="@Url.Action("Info")">
                     @Html.AntiForgeryToken()
                    <div class="control-group">
                        <label class="control-label">
                        </label>
                        <div class="controls">
                            @Html.ValidationSummary()
                        </div>
                    </div>
                     <div class="control-group">
                        <label class="control-label">注册邮箱</label>
                        <div class="controls">

                            @Html.TextBoxFor(o => o.Email, new {@readonly="true" })
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">真实姓名</label>
                        <div class="controls">

                            @Html.TextBoxFor(o => o.Name, new { placeholder = "真实姓名" })
                            
                            <span class="help-inline">@Html.ValidationMessageFor(o => o.Name)</span>
                        </div>
                    </div>

                    <div class="control-group">
                        <label class="control-label">工作单位</label>
                        <div class="controls">

                            @Html.TextBoxFor(o => o.Address, new { placeholder = "工作单位" })
                            
                            <span class="help-inline">@Html.ValidationMessageFor(o => o.Address)</span>
                        </div>
                    </div>
                      <div class="control-group">
                        <label class="control-label">联系电话</label>
                        <div class="controls">
                            @Html.TextBoxFor(o => o.Tel, new { placeholder = "联系电话" })
                            
                            <span class="help-inline">@Html.ValidationMessageFor(o => o.Tel)</span>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">个人主页</label>
                        <div class="controls">
                            @Html.TextBoxFor(o => o.SelfPage, new { placeholder = "个人主页" })
                            
                            <span class="help-inline">@Html.ValidationMessageFor(o => o.SelfPage)</span>
                        </div>
                    </div>
                    


                    <div class="form-actions">
                        <button type="submit" class="btn btn-inverse">保存</button>
                        <button type="reset" class="btn">取消</button>
                    </div>

                </form>
            </div>
        </div>

    </div>
</div>
